﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class Add:Calculate
    {
        int sum = 0;
        public override void DisplayResult(int num1, int num2)
        {
            base.DisplayResult(10, 5);
            sum = num1 + num2;
            Console.WriteLine(sum);
        }
     }
}
